public class Main {

    public static void main(String[] args) {
        Array<Integer> arr = new Array<>();
        for (int i = 0; i < 10; i++)
            arr.push(i);
        System.out.println(arr);

        arr.insert(1, 10);
        System.out.println(arr);

        arr.unshift(-1);
        System.out.println(arr);

//        System.out.println(arr.get(11));
//        arr.set(0, -2);
//        System.out.println(arr);
//
//        System.out.println(arr.includes(8));
        System.out.println(arr.remove(1));
        System.out.println(arr.shift());
        System.out.println(arr.pop());
//        arr.delete(10);
        System.out.println(arr);
    }
}
